﻿<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
  <CodeSnippet Format="1.0.0">
    <Header>
      <Title>efwsqldao</Title>
      <Author>kakake</Author>
      <Description>后台数据实现的代码片段</Description>
      <HelpUrl></HelpUrl>
      <SnippetTypes />
      <Keywords />
      <Shortcut>efwsqldao</Shortcut>
    </Header>
    <Snippet>
      <References />
      <Imports>
        <Import>
          <Namespace>EFWCoreLib.CoreFrame.Business</Namespace>
        </Import>
      </Imports>
      <Declarations />
      <Code Language="csharp" Kind="" Delimiter="$"><![CDATA[public class SqlBookDao : AbstractDao, IBookDao
    {
        public List<Book> GetBooks(string searchChar, int flag)
        {
            string strsql = @"SELECT * FROM Books";
            List<Book> list = oleDb.Query<Book>(strsql, null).ToList();
            return list;
        }
    }]]></Code>
    </Snippet>
  </CodeSnippet>
</CodeSnippets>